Plotly Tutorial¶

Import library

In [8]:
import plotly
import plotly.express as px

plotly.offline.init_notebook_mode()

📈 Plotting the scatterd chart

In [9]:
df = px.data.iris()
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species",
                 size='petal_length', hover_data=['petal_width'])
fig.show()